package com.chuangke.school.entity;

import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.chuangke.common.annotation.Entity;
import com.chuangke.framework.model.BillModel;

@Entity
public class MmPurchaseOrder extends BillModel{
   
	/** 供应商 */
    private String companyId ;
    /** 业务日期 */
    private String date ;
    /** 对方信息 */
    private String companyInfo ;
    /** 我方信息 */
    private String ourInfo ;
    /** 仓库 */
    private String repertoryId ;
    /** 部门 */
    private String deptId ;
    /** 出入库类型 */
    private String ioType ;
    /** 合计 */
    private BigDecimal totalAmount ;
    /** 单据状态 */
    private String status ;
    /** 入库状态 */
    private String inStatus ;
    /** 业务类型 */
    private String bisType ;
    /** 业务单号 */
    private String bisId ;
    
    @TableField(exist=false)
    private List<MmPurchaseOrderDetail> details ;
    
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getCompanyInfo() {
		return companyInfo;
	}
	public void setCompanyInfo(String companyInfo) {
		this.companyInfo = companyInfo;
	}
	public String getOurInfo() {
		return ourInfo;
	}
	public void setOurInfo(String ourInfo) {
		this.ourInfo = ourInfo;
	}
	public String getRepertoryId() {
		return repertoryId;
	}
	public void setRepertoryId(String repertoryId) {
		this.repertoryId = repertoryId;
	}
	public String getDeptId() {
		return deptId;
	}
	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}
	public String getIoType() {
		return ioType;
	}
	public void setIoType(String ioType) {
		this.ioType = ioType;
	}
	public BigDecimal getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getInStatus() {
		return inStatus;
	}
	public void setInStatus(String inStatus) {
		this.inStatus = inStatus;
	}
	public String getBisType() {
		return bisType;
	}
	public void setBisType(String bisType) {
		this.bisType = bisType;
	}
	public String getBisId() {
		return bisId;
	}
	public void setBisId(String bisId) {
		this.bisId = bisId;
	}
	public List<MmPurchaseOrderDetail> getDetails() {
		return details;
	}
	public void setDetails(List<MmPurchaseOrderDetail> details) {
		this.details = details;
	}

}